package decorator.v2;

import java.io.IOException;

public class MyFilterInputStream extends MyInputStream{

    private MyInputStream inputStream;

    MyFilterInputStream(MyInputStream inputStream){
        this.inputStream = inputStream;
    }

    @Override
    int read() throws IOException {
        return inputStream.read();
    }

    @Override
    void write() {
        inputStream.write();
    }

}
